package demo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import demo.entity.Notice;

public interface NoticeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Notice record);

    int insertSelective(Notice record);

    Notice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Notice record);

    int updateByPrimaryKey(Notice record);
    
    List<Notice> findAll(Notice notice,@Param("pageNo")Integer pageNo,@Param("pageSize")Integer pageSize);
}